package com.jetsum.micro.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("cloud-provider-repo")
@Service
public interface RepoService {

    @PostMapping("/repo/save")
    public String save();

    @PostMapping("/repo/adjust")
    public String adjust(@RequestParam("count") int count);
}
